package javaBase.DoubleDirectLinkList;

/**
 * @program: jvm
 * @description
 * @author: tkk fendoukaoziji
 * @create: 2019-05-04 09:54
 **/
public class TestDoubleLink {
    public static void main(String[] args) {
        DoubleLinkList myList = new DoubleLinkList();
        myList.insertFirst(10);
        myList.insertFirst(20);
        myList.insertFirst(30);

        myList.insertAfterKey(20,100);
        myList.insertLast(33);
        myList.insertLast(55);

        myList.dispalyForward();
        myList.displayBackWord();

        myList.deleteLast();
        myList.deleteFirst();
        myList.deleteKey(90);
        myList.deleteKey(20);

        myList.dispalyForward();




    }
}













